package com.itheima.io.fileoutputstream.demo01;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class FileOutputStreamDemo01 {

    public static void main(String[] args) throws IOException {

        FileOutputStream fileOutputStream = new FileOutputStream("itheima-io-fileoutputstream\\a.txt");

        fileOutputStream.write(97);

        fileOutputStream.write("\r\n".getBytes());

        fileOutputStream.close();

    }

}
